﻿using Dyao.Book.Contract;
using Foundation.Service.Bus.Core;

namespace Dyao.Book.BusApplication
{
    /// <summary>
    /// 任务中心命令接口
    /// </summary>
    public interface ITaskCenterCommand : ICommand
    {
        /// <summary>
        /// 任务中心参数
        /// </summary>
        TaskCenterDto TaskCenterDto { get; set; }
    }

    /// <summary>
    ///  任务中心命令
    /// </summary>
    public abstract class TaskCenterCommand : AbstractCommand, ITaskCenterCommand
    {
        /// <summary>
        /// 任务中心参数
        /// </summary>
        public TaskCenterDto TaskCenterDto { get; set; }
    }
}
